package com.h3c.nem.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: SdTodoTask
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: sd_todo_task 实体
 * Version: 1.0
 */
@ApiModel(value="SdTodoTask对象", description="")
@Table(name = "sd_todo_task")
public class SdTodoTask {


    @ApiModelProperty(value = "主题")
    @Column(name = "subject")
    private String subject;

    @ApiModelProperty(value = "申请人id（域账号）")
    @Column(name = "adduserid")
    private String adduserid;

    @ApiModelProperty(value = "申请人姓名（中文名）")
    @Column(name = "addusername")
    private String addusername;

    @ApiModelProperty(value = "申请时间")
    @Column(name = "applytime")
    private String applytime;

    @ApiModelProperty(value = "当前处理人id（被委托人）（域账号）")
    @Column(name = "authorid")
    private String authorid;

    @ApiModelProperty(value = "当前处理人（被委托人）姓名")
    @Column(name = "authorname")
    private String authorname;

    @ApiModelProperty(value = "PC端文档访问链接")
    @Column(name = "url")
    private String url;

    @ApiModelProperty(value = "系统id（如IBPM、ERP）")
    @Column(name = "systemid")
    private String systemid;

    @ApiModelProperty(value = "应用id（流程应用分类编码）")
    @Column(name = "appid")
    private String appid;

    @ApiModelProperty(value = "流程id（流程分类编码）")
    @Column(name = "processid")
    private String processid;

    @ApiModelProperty(value = "流程名称（流程分类，如请假电子流，加班流程）")
    @Column(name = "processname")
    private String processname;

    @ApiModelProperty(value = "文档id（主键Id）")
    @Column(name = "docunid")
    private String docunid;

    @ApiModelProperty(value = "状态值(WAITING/APPROVING/APPROVED) 对应含义(待提交/审批中/完成)")
    @Column(name = "status")
    private String status;

    @ApiModelProperty(value = "已处理用户id（多个用户用逗号“,”分隔）（域账号）")
    @Column(name = "enduserid")
    private String enduserid;

    @ApiModelProperty(value = "委托人")
    @Column(name = "assigner")
    private String assigner;

    @ApiModelProperty(value = "节点id")
    @Column(name = "nodeid")
    private String nodeid;

    @ApiModelProperty(value = "节点名称 （当前办理状态）")
    @Column(name = "nodename")
    private String nodename;

    @ApiModelProperty(value = "（最后更新时间字符串，到分或秒）格式：yyyy-MM-dd HH:mm:ss ")
    @Column(name = "timestamp")
    private String timestamp;

    @ApiModelProperty(value = "接入类型    1(只PC端) ，2( 只移动端)，3(PC和移动端都可以)")
    @Column(name = "accepttype")
    private String accepttype;

    @ApiModelProperty(value = "移动端重定向url")
    @Column(name = "redirecturl")
    private String redirecturl;

    @ApiModelProperty(value = "能否批量处理（1是\\0否）")
    @Column(name = "isbatch")
    private String isbatch;

    @ApiModelProperty(value = "邮催日期（格式yyyy-MM-dd）；为空或等于当前日期进行每日邮催")
    @Column(name = "maildaily")
    private String maildaily;

    @ApiModelProperty(value = "是否发送 移动端 企业微信消息推送 1发送/ 0 不发送")
    @Column(name = "issms")
    private String issms;

    @ApiModelProperty(value = "pc摘要办理链接")
    @Column(name = "todopcurl")
    private String todopcurl;

    @ApiModelProperty(value = "是否详情链接按钮，值1或0")
    @Column(name = "ispcdetail")
    private String ispcdetail;

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getAdduserid() {
        return adduserid;
    }

    public void setAdduserid(String adduserid) {
        this.adduserid = adduserid;
    }

    public String getAddusername() {
        return addusername;
    }

    public void setAddusername(String addusername) {
        this.addusername = addusername;
    }

    public String getApplytime() {
        return applytime;
    }

    public void setApplytime(String applytime) {
        this.applytime = applytime;
    }

    public String getAuthorid() {
        return authorid;
    }

    public void setAuthorid(String authorid) {
        this.authorid = authorid;
    }

    public String getAuthorname() {
        return authorname;
    }

    public void setAuthorname(String authorname) {
        this.authorname = authorname;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSystemid() {
        return systemid;
    }

    public void setSystemid(String systemid) {
        this.systemid = systemid;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getProcessid() {
        return processid;
    }

    public void setProcessid(String processid) {
        this.processid = processid;
    }

    public String getProcessname() {
        return processname;
    }

    public void setProcessname(String processname) {
        this.processname = processname;
    }

    public String getDocunid() {
        return docunid;
    }

    public void setDocunid(String docunid) {
        this.docunid = docunid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getEnduserid() {
        return enduserid;
    }

    public void setEnduserid(String enduserid) {
        this.enduserid = enduserid;
    }

    public String getAssigner() {
        return assigner;
    }

    public void setAssigner(String assigner) {
        this.assigner = assigner;
    }

    public String getNodeid() {
        return nodeid;
    }

    public void setNodeid(String nodeid) {
        this.nodeid = nodeid;
    }

    public String getNodename() {
        return nodename;
    }

    public void setNodename(String nodename) {
        this.nodename = nodename;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getAccepttype() {
        return accepttype;
    }

    public void setAccepttype(String accepttype) {
        this.accepttype = accepttype;
    }

    public String getRedirecturl() {
        return redirecturl;
    }

    public void setRedirecturl(String redirecturl) {
        this.redirecturl = redirecturl;
    }

    public String getIsbatch() {
        return isbatch;
    }

    public void setIsbatch(String isbatch) {
        this.isbatch = isbatch;
    }

    public String getMaildaily() {
        return maildaily;
    }

    public void setMaildaily(String maildaily) {
        this.maildaily = maildaily;
    }

    public String getIssms() {
        return issms;
    }

    public void setIssms(String issms) {
        this.issms = issms;
    }

    public String getTodopcurl() {
        return todopcurl;
    }

    public void setTodopcurl(String todopcurl) {
        this.todopcurl = todopcurl;
    }

    public String getIspcdetail() {
        return ispcdetail;
    }

    public void setIspcdetail(String ispcdetail) {
        this.ispcdetail = ispcdetail;
    }
    @Override
    public String toString() {
        return "SdTodoTask{" +
                "subject=" + subject +
                ", adduserid=" + adduserid +
                ", addusername=" + addusername +
                ", applytime=" + applytime +
                ", authorid=" + authorid +
                ", authorname=" + authorname +
                ", url=" + url +
                ", systemid=" + systemid +
                ", appid=" + appid +
                ", processid=" + processid +
                ", processname=" + processname +
                ", docunid=" + docunid +
                ", status=" + status +
                ", enduserid=" + enduserid +
                ", assigner=" + assigner +
                ", nodeid=" + nodeid +
                ", nodename=" + nodename +
                ", timestamp=" + timestamp +
                ", accepttype=" + accepttype +
                ", redirecturl=" + redirecturl +
                ", isbatch=" + isbatch +
                ", maildaily=" + maildaily +
                ", issms=" + issms +
                ", todopcurl=" + todopcurl +
                ", ispcdetail=" + ispcdetail +
                "}";
    }
}
